package cn.zhang.action;

import javax.annotation.Resource;

import com.opensymphony.xwork2.ActionSupport;

import cn.zhang.service.PhoneService;

//@Component(value="phoneAction")
public class PhoneAction extends ActionSupport{

	@Resource(name="phoneService")
	private PhoneService phoneService;
	public void setPhoneService(PhoneService phoneService) {
		this.phoneService = phoneService;
	}


	public String execute(){
		
		phoneService.add();
		
		return NONE;
	}
}
